﻿<UserControl x:Class="MTBrainStorm.Views.DocumentRootElement"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" 
             xmlns:vm="clr-namespace:MTBrainStorm.ViewModels"
             d:DesignHeight="300" d:DesignWidth="300">

    <Grid>
        <Grid.Resources>
            <Style TargetType="{x:Type StackPanel}">
                <Setter Property="Orientation" Value="Horizontal" />
                <Setter Property="VerticalAlignment" Value="Center" />
            </Style>
            <Style TargetType="{x:Type TextBox}">
                <Setter Property="Width" Value="150" />
                <Setter Property="Height" Value="25" />
            </Style>
        </Grid.Resources>

        <Rectangle 
            Width="{Binding Width}" Height="{Binding Height}" 
            Fill="#AE39A500"/>
    </Grid>
</UserControl>
